import Vue from 'vue'
// 注意 vant ui 框架必须在app之前引入
import Vant from 'vant';



import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 03 vant ui 引入
import 'vant/lib/index.css';
Vue.use(Vant);
// 02引入字体图标
import './assets/font/iconfont.css';

// 01 rem 适配模块
// $cnpm i amfe-flexible -S
// $cnpm install px2rem-loader -D
// 修改vue.config.js
// 添加public添加base.css文件
import "amfe-flexible"
// import api from "./store/api.js"
// Vue.prototype.resetSetItem = api;


// import search from "./store/search-api"
// Vue.prototype.searchSetItem = search;
new Vue({
    router,
  store,
  render: h => h(App)
}).$mount('#app')
